package com.front.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author xyw
 * @since 2023-08-10
 */
@Getter
@Setter
@TableName("tb_store")
public class TbStore implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "store_id", type = IdType.AUTO)
    private Integer storeId;

    private String storeName;

    private String address;

    private String phone;

    private String city;

    private String province;

    /**
     * 门店图片
     */
    private String storeimage;

    /**
     * 门店单价
     */
    private Object washPrice;

    /**
     * 门店评分
     */
    private String country;

    /**
     * 经度
     */
    private Object longitude;

    /**
     * 纬度
     */
    private Object latitude;

    /**
     * 门店状态
     */
    private String status;

    private String createBy;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    private LocalDateTime updateBy;

    private LocalDateTime updateTime;

    @TableField(exist = false)
    private List storeLabels;

    /**
     * 所有工位数量
     */
    @TableField(exist = false)
    private String countA;
    /**
     * 使用中工位数量
     */
    @TableField(exist = false)
    private String countB;

    /**
     * 工位空闲数量   这个字段是自己定义的，表中并没有这个字段
     */
    @TableField(exist = false)
    private Integer idleNumber;

    @TableField(exist = false)
    public String jvli;

    /**
     * 用户id
     */
    @TableField(exist = false)
    private Integer userId;
    /**
     * 用户Name
     */
    @TableField(exist = false)
    private String userName;

    /**
     * 用户积分id
     */
    @TableField(exist = false)
    private Integer integralId;
    /**
     * 用户积分
     */
    @TableField(exist = false)
    private Integer credits;
    /**
     * 用户余额id
     */
    @TableField(exist = false)
    private Integer balanceId;
    /**
     * 用户余额
     */
    @TableField(exist = false)
    private Integer amount;


    /**
     * 车辆id
     */
    @TableField(exist = false)
    private Integer carId;
    /**
     * 车牌
     */
    @TableField(exist = false)
    private String carNo;
}
